//
//  ACCalculateView.swift
//  BRCalculator
//
//  Created by 王亮 on 2018/11/27.
//  Copyright © 2018 王亮. All rights reserved.
//

import Foundation
import UIKit

final class ACCalculateView: UIButton, CalculationElement {
    
    var elementType: ElementType = .calElement
    
    var calType: CalType = .directCal

    static var elementName: String = "AC"
    
    func calculate(a: Double) -> (Double) -> Double {
        return {
            b in a * 0
        }
    }
    
    func directCalculate(a: Double) -> Double {
        return 0
    }
}
